From 253ce4232a9da860ea6654302609aaf7c4829247 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 19 Mar 2009 00:46:26 +0000 Subject: [PATCH] (load_charset_map_from_file): When a mapfile can't be loaded, signal an error. --- src/charset.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/charset.c b/src/charset.c index fa3515b5443..27812759e65 100644 --- a/src/charset.c +++ b/src/charset.c @@ -522,10 +522,7 @@ load_charset_map_from_file (charset, mapfile, control_flag) unbind_to (count, Qnil); if (fd < 0 || ! (fp = fdopen (fd, "r"))) - { - add_to_log ("Failure in loading charset map: %S", mapfile, Qnil); - return; - } + error ("Failure in loading charset map: %S", SDATA (mapfile)); head = entries = ((struct charset_map_entries *) alloca (sizeof (struct charset_map_entries))); -- 2.30.2